from flask import Flask
app = Flask(__name__)

@app.route('/')
def index():
	return 'Index page'
	
@app.route('/user/<username>/')
def hello(username): #do not forget args
	return 'Hello %s' % username
	
@app.route('/post/<int:post_id>/')
def show_post(post_id): #do not forget args
	return 'Post %d' % post_id

if __name__ == '__main__':
	app.run(debug = True)